<?php

namespace Wilead\IArtistBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class UserResumeType extends AbstractType {

    public function buildForm(FormBuilderInterface $builder, array $options) {
        $builder
                ->add('name')
                ->add('brithday')
                ->add('birthplace')
                ->add('liveplace')
                ->add('ethnic')
                ->add('height')
                ->add('bodyWeight')
                ->add('school')
                ->add('specialty')
                ->add('specialty2')
                ->add('workExp')
                ->add('workExp2')
                ->add('workExp3')
                ->add('workExp4')
                ->add('workExp5')
                ->add('intention')
                ->add('graduationAt')
                ->add('skillDescription')
                ->add('valuate')
                ->add('diploma')
        ;
    }

    public function setDefaultOptions(OptionsResolverInterface $resolver) {
        $resolver->setDefaults(array(
            'data_class' => 'Wilead\IArtistBundle\Entity\UserResume'
        ));
    }

    public function getName() {
        return '';
    }

}
